<template>
  <div v-if="content">
    <my-head title="资讯"></my-head>
    <div
      class="content"
      v-html="content"
      :style="{ transformOrigin: '0 0', transform: 'scale(' + dpr / 2 + ')' }"
    ></div>
  </div>
</template>


<script>
export default {
  name: "news",
  data() {
    return {
      content: null,
      dpr: 1,
    };
  },
  mounted() {
    this.dpr = window.devicePixelRatio;
    this.$ajax
      .getMaiData(
        {
          actId: "ElzMZU125260",
        },
        {
          "X-Host": "mall.act.static-page.info",
        }
      )
      .then((res) => {
        this.content = res.data.data.content;
      });
  },
};
</script>